package com.myjob.src.share.domain;

/**
 * <p>模块：职位种类及名称</p>
 *
 * <p> 2012-02-06  13:12:08 星期一 </p>
 * <p> tempalte version 2011-12-06 </p>
 *
 * @author Bobbie.qi
 */
 

public class JobTypeBo{
   
    private String id; // 
    private String categoryId; //职位种类编号 
    private String categoryName; //职位种类名称 
    @Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((categoryId == null) ? 0 : categoryId.hashCode());
		result = prime * result + ((categoryName == null) ? 0 : categoryName.hashCode());
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result + ((jobName == null) ? 0 : jobName.hashCode());
		result = prime * result + ((jobNameId == null) ? 0 : jobNameId.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		JobTypeBo other = (JobTypeBo) obj;
		if (categoryId == null) {
			if (other.categoryId != null)
				return false;
		} else if (!categoryId.equals(other.categoryId))
			return false;
		if (categoryName == null) {
			if (other.categoryName != null)
				return false;
		} else if (!categoryName.equals(other.categoryName))
			return false;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		if (jobName == null) {
			if (other.jobName != null)
				return false;
		} else if (!jobName.equals(other.jobName))
			return false;
		if (jobNameId == null) {
			if (other.jobNameId != null)
				return false;
		} else if (!jobNameId.equals(other.jobNameId))
			return false;
		return true;
	}

	private String jobNameId; //职位名称编号 
    private String jobName; //职位名称 
       
   
    public void setCategoryId(final String categoryId){
       	this.categoryId=categoryId ;
    }
       
    public String getCategoryId(){
       	return categoryId ;
   }
       
    public void setCategoryName(final String categoryName){
       	this.categoryName=categoryName ;
    }
       
    public String getCategoryName(){
       	return categoryName ;
   }
       
    public void setJobNameId(final String jobNameId){
       	this.jobNameId=jobNameId ;
    }
       
    public String getJobNameId(){
       	return jobNameId ;
   }
       
    public void setJobName(final String jobName){
       	this.jobName=jobName ;
    }
       
    public String getJobName(){
       	return jobName ;
   }

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
}